package com.lanou3g.ptp.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

@Data
@ApiModel(description = "教学环节类")
public class Teachlink implements Serializable {

    @ApiModelProperty("教学环节id")
    private Long id;

    @ApiModelProperty("教学环节名称")
    private String name;

    @ApiModelProperty("专业id")
    private Long majorId;

    @ApiModelProperty("专业名称")
    private String majorName;

    @ApiModelProperty("学分")
    private Double score;

    @ApiModelProperty("课程代码")
    private String course;

    @ApiModelProperty("年级")
    private String grade;

    @ApiModelProperty("学期")
    private String semester;

    @ApiModelProperty("进行方式  0是集中，1是分散")
    private Integer mode;

    @ApiModelProperty("类型 实习0、课程1、课程设计2")
    private Integer type;

    @ApiModelProperty("分组数")
    private Integer group;

    @ApiModelProperty("教学目标")
    private String target;

    @ApiModelProperty("教学计划")
    private String plan;

    @ApiModelProperty("安全协议")
    private String protocol;

    @ApiModelProperty(name = "状态", hidden = true)
    private Integer status;

    @ApiModelProperty(name = "创建时间", hidden = true)
    private Date createTime;

    @ApiModelProperty(name = "更新时间", hidden = true)
    private Date updateTime;

    private Boolean editable;

    public static class MODE{
        public static final Integer CENTRALIZATION = 0;
        public static final Integer DECENTRALIZATION = 1;
    }
    public static class TYPE{
        public static final Integer PRACTICE = 0;
        public static final Integer COURSE = 1;
        public static final Integer COURSE_DESIGN = 2;
    }
}
